package com.example.demo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;

@Getter
@Setter
public class UserDto implements Serializable {

    @ApiModelProperty(hidden = true)
    private Long id;

    private String userName;

    private String password;

    private Long deptId;

    private Long roleId;

    private DeptSmallDto dept;

    private RoleSmallDto Role;

    private int sex;

    private String email;

    private String phone;

    @ApiModelProperty(hidden = true)
    private Set<RoleSmallDto> roles;

    private String avatarPath;

    private Boolean status;

    private Date lastPasswordResetTime;

    private Long createId;

    private Timestamp createTime;

    private Long updateId;

    private Timestamp updateTime;

    private String remark;

    private String googleKey;

    private Boolean isdel;
}

